using namespace std;
#include <iostream> 

main() {
   double a[4] = {1.0 , 0.5, 0.25, 0.125};
   double b[3][4] = {
	  { 1.0, 0.5, 0.25, 0.125},
	  { 2.0, 1.0, 0.5, 0.25},
	  { 4.0, 2.0, 1.0, 0.5}};
   cout <<"a: " << a <<endl << sizeof(a) <<endl
        <<"a+1 : " << a+1 << endl << sizeof(a+1) << endl
        <<"a[1]" << a[1] << endl <<sizeof(a[1]) << endl
        <<"b" << b << endl << sizeof(b) << endl
        << "b +1 : "<< b+1 <<endl << sizeof(b+1) << endl
        <<"b[1]: "<< b[1] << endl << sizeof(b[1]) <<endl
        <<"b[1]+2 : "<<b[1] + 2 << endl << sizeof(b[1]+2) <<endl
        <<"b[1][2]: "<< b[1][2] << endl << sizeof(b[1][2])  << endl;
 }
